package com.belle.sfsdfasdfsdf.dao;

import com.belle.sfsdfasdfsdf.domain.ScheduleJob;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SchedulerJobDao extends JpaRepository<ScheduleJob, ScheduleJob.PrimaryKey> {
	List<ScheduleJob> findAllByJobStatus(int jobStatus);
	
	ScheduleJob findByJobNameAndJobGroup(String jobName, String jobGroup);
}
